package com.yoomiito.app.model.bean;

import android.graphics.drawable.Drawable;

import com.chad.library.adapter.base.entity.MultiItemEntity;

public class MultipleItem  implements MultiItemEntity {


    public static final int BANNER = 1;//广告位
    public static final int TAB = 2;//爆款、美食标签条目
    public static final int VIP = 3;//vip
    public static final int TEXT = 4;//单独文字样式
    public static final int LIMITED_TIME = 5;//限时
    public static final int ACTIVITY = 6;//活动
    public static final int RECOMMEND = 7;//推荐
    private int itemType;

    private  Drawable mBannerUrl ;
    private  Drawable mBannerbgUrl ;

    private String mTabContent;
    private Drawable mTabDrawable;

    private Drawable mVip ;

    private Drawable mActivity1 ;
    private Drawable mActivity2 ;

    public MultipleItem(int itemType, Drawable bannerUrl,Drawable bannerbgUrl) {
        this.itemType = itemType;
        this.mBannerUrl = bannerUrl;
        this.mBannerbgUrl = bannerUrl;
    }

    public MultipleItem(int itemType, String tabContent ,Drawable tabDrawable){
        this.itemType = itemType;
        this.mTabContent = tabContent;
        this.mTabDrawable = tabDrawable;
    }

    public MultipleItem(int itemType, Drawable vip ){
        this.itemType = itemType;
        this.mVip = vip;
    }



    private String mLimitedTime ;
    private Drawable mTimeDrawable;
    private String mExplosion;
    private Drawable mXplosionDrawable;

    public MultipleItem(int itemType,String limitedTime ,Drawable timeDrawable ,String xplosion ,Drawable xplosionDrawable){
        this.itemType = itemType;
        this.mTimeDrawable = timeDrawable;
        this.mExplosion = xplosion;
        this.mXplosionDrawable = xplosionDrawable;
    }


    public Drawable getTimeDrawable() {
        return mTimeDrawable;
    }


    public Drawable getXplosionDrawable() {
        return mXplosionDrawable;
    }

    private String text;
    public MultipleItem(int itemType,String text){
        this.itemType = itemType;
        this.text = text;
    }

    public String getText() {
        return text;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
